]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
status/network: Fix quicksettings enterprise connections
authorMitchell Augustin <mitchell.augustin@canonical.com>
Mon, 11 Aug 2025 19:21:40 +0000 (14:21 -0500)
committerFlorian Müllner <fmuellner@gnome.org>
Sat, 13 Sep 2025 16:57:31 +0000 (18:57 +0200)
In d6779f34dac6c80e178a308314fe59884a65f383, the switch
to shell_app_activate_action() was made without
also wrapping the action parameter in an av variant.
This patch adjusts network.js to use the correct av
variant type when attempting to connect to an
enterprise AP from the quicksettings panel.

Fixes d6779f34dac6c80e178a308314fe59884a65f383
Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8590

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3834>
(cherry picked from commit ff7f7887c025c0d68f51e679fe9f58299db4c1b0)

js/ui/status/network.js

index afa16dc2a1d224dcf6633c3b04723294059ff5fc..0e7de447659e60ce755614a7710bc12f9916d116 100644 (file)
@@ -64,8 +64,8 @@ function ssidToLabel(ssid) {
 }
 
 function launchSettingsPanel(panel, ...args) {
-    const param = new GLib.Variant('(sav)',
-        [panel, args.map(s => new GLib.Variant('s', s))]);
+    const param = new GLib.Variant('av',
+        [new GLib.Variant('(sav)', [panel, args.map(s => new GLib.Variant('s', s))])]);
 
     const app = Shell.AppSystem.get_default()
         .lookup_app('org.gnome.Settings.desktop');